﻿using MiniFox.Platform.OAuth2.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MiniFox.Platform.OAuth2.Events
{
    /// <summary>
    /// 
    /// </summary>
    public class SignInEventArgs : EventArgs
    {
        OpenAuthIdentity _identity;
        /// <summary>
        /// 
        /// </summary>
        /// <param name="identity"></param>
        public SignInEventArgs(OpenAuthIdentity identity)
        {
            _identity = identity;
        }
        /// <summary>
        /// 
        /// </summary>
        public OpenAuthIdentity Identity
        {
            get { return _identity; }
        }
    }
}
